package Test_0806.demo1;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-08-06
 * Time: 17:21
 */
public class Test {
    public static void main(String[] args) {
        Computer computer=new Computer();
        computer.open();
        computer.useUSBDevice(new KeyBoard());
        computer.useUSBDevice(new Mouse());
        computer.close();
    }
}
